package DataStructureAndAlgorithm.百度之星;

import java.util.Scanner;

public class AStart_1006 {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int[] nums = new int[n + 1];
        int[] sum = new int[n + 1];
        int a,b;
        for (int i = 1; i <= n; i++){
            a = in.nextInt();
            b = in.nextInt();

        }
    }



}
